package com.tenement.service.impl;

import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSONObject;
import com.tenement.service.ExploreService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class ExploreServiceImpl implements ExploreService {


    @Override
    public JSONObject hotSearchMusic() {
        return JSONObject.parseObject(HttpUtil.get("https://api.vvhan.com/api/wyMusic/%E7%83%AD%E6%AD%8C%E6%A6%9C?type=json"));
    }


}
